Download the Project

Click the Compile and Download () button (Ctrl + F7) or the Download () button.
The application is compiled and downloaded or just downloaded to the controller.

An alert appears if:

  • An attempt to Compile and Download is made without a connection to a controller.
  • There is not sufficient space on the controller for the application.
    • Clearing the User Data tab is one method to create more space on the controller.
  • In the Controller Properties dialog box, if the Download Project Source in the controller option is:
    • Enabled - the source code is copied to the controller.
      See Configure the Controller.
    • Disabled - and the controller has project source loaded, a message appears.
      • The message is different based on whether the current project and the project on the controller have the same name or not.

Project Name - Same Name

If the Project Name is the same, the message is:

Figure 1: Download Project Source message - Project Name = Same Name

Actions

Click either:

  • OK: Source on controller is deleted.
  • Save: Source on controller is overwritten and is saved to "My Documents".
    • If that source file already exists in My Documents, a prompt appears to rename the source file, overwrite that file or not.
    • If the file is not renamed or overwritten, the download to the controller is canceled.
  • Cancel: Download is stopped.

Project Name - Different Name

If the Project Name is different, the message is:

Figure 2: Download Project Source message - Project Name = Different Name

Actions

Click either:

  • OK: Source on the controller is replaced.
  • Save: Source on the controller is saved to My Documents.
  • Cancel: Download is stopped.

  • The versions between the KAS-IDE and the KAS Runtime must be the same to debug the application.
    Example: To view the Variable Animation in the editors.


  • If the KAS-IDE version differs from the KAS Runtime after compiling an application, the function blocks defined in the KAS-IDE and those implemented in the virtual machine of the runtime can be different.
    To prevent this potential mismatch, compile and download the application again.


  • The project's source code can be downloaded to store the project.
    See the File menu about retrieving saved projects.